﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KC.Presentation.ProcessAggregator.Plugins
{
	public partial class RequestString : Form
	{
		public RequestString(string question)
		{
			InitializeComponent();
			label1.Text = question;
		}
		public string result = null;

		private void btnCxl_Click(object sender, EventArgs e)
		{
			DialogResult = System.Windows.Forms.DialogResult.Cancel;
			Close();
		}

		private void btnOK_Click(object sender, EventArgs e)
		{
			result = textBox1.Text;
			DialogResult = System.Windows.Forms.DialogResult.OK;
			Close();
		}
	}
}
